From 3b1b98c645d62c724b831cc2f72a23565e3e33d5 Mon Sep 17 00:00:00 2001 From: Charles Lombardo Date: Mon, 19 Feb 2024 13:44:42 -0500 Subject: android: Fix overlay visibility reset (#13083) --- src/android/app/src/main/java/org/yuzu/yuzu_emu/overlay/InputOverlay.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/android/app/src/main/java/org/yuzu/yuzu_emu/overlay/InputOverlay.kt b/src/android/app/src/main/java/org/yuzu/yuzu_emu/overlay/InputOverlay.kt index 66907085a..ed112a38d 100644 --- a/src/android/app/src/main/java/org/yuzu/yuzu_emu/overlay/InputOverlay.kt +++ b/src/android/app/src/main/java/org/yuzu/yuzu_emu/overlay/InputOverlay.kt @@ -664,7 +664,7 @@ class InputOverlay(context: Context, attrs: AttributeSet?) : val overlayControlData = NativeConfig.getOverlayControlData() overlayControlData.forEach { - it.enabled = OverlayControl.from(it.id)?.defaultVisibility == false + it.enabled = OverlayControl.from(it.id)?.defaultVisibility == true } NativeConfig.setOverlayControlData(overlayControlData) -- cgit v1.2.3